package player.ui.video;

import java.awt.Button;
import java.awt.Color;
import java.awt.Component;
import java.awt.Container;
import java.awt.GradientPaint;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.Paint;
import java.awt.Panel;

import javax.swing.JButton;
import javax.swing.JComponent;
import javax.swing.JPanel;

import net.miginfocom.swing.MigLayout;
import player.PS;
import player.mplayer.MPlayerControl;
import player.ui.controlbar.ThinBar;
import player.ui.controlbar.TopBar;

public class VideoFramePanel extends Container{
	private static final long serialVersionUID = 239170503604567808L;
	public VideoPanel videoPanel;
	VideoFramePanel(){
		super();
		setLayout(new VideoFrameLayout());
		//setBorder(new VideoFrameBorder());
		setBackground(new Color(155,0,0));
		videoPanel=new VideoPanel();
		videoPanel.setName("videoPanel");

		add(videoPanel);
		
		
	}
	
	
	long getWid(){
		return videoPanel.getWid();
	}
	

}


